package com.step.scene.camera;

import javax.microedition.khronos.opengles.GL10;

public abstract class Camera {
	protected final CameraType cameraType;
	
	public Camera(CameraType cameraType) {
		this.cameraType = cameraType;
	}

	public CameraType getCameraType() {
		return cameraType;
	}

	public abstract void updateFrustum(GL10 gl);
	
	public enum CameraType{
		GUI_CAMERA(0),
		EULER_CAMERA(1),
		LOOKAT_CAMERA(2);
		private int type;
		
		private CameraType(int type){
			this.type = type;
		}
		
		public int getType(){
			return type;
		}
	}
}
